Added a basic integrity checker, and some basic ability to recover from store
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Thu, 2 Mar 2006 01:09:23 +0000 (02:09 +0100)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Thu, 2 Mar 2006 01:09:23 +0000 (02:09 +0100)
commit06d17943f0cd4f1386e2dfbfbffa3e29bd458b10
tree753879768245c9e23bd8d471512e397a02566859
parent8920f45cc8bbbad7fdf478673f8119adda58cfa0
Added a basic integrity checker, and some basic ability to recover from store
corruption, rather than just spewing error messages and exiting.

Added a xenstore-control executable, which sends commands to xenstored.
Currently, the only command is 'check', which triggers an integrity check.
(The integrity check is also triggered whenever a corrupted store is detected).

Signed-off-by: Ewan Mellor <ewan@xensource.com>
.hgignore
tools/xenstore/Makefile
tools/xenstore/xenstore_control.c [new file with mode: 0644]
tools/xenstore/xenstored_core.c
tools/xenstore/xenstored_core.h